Layer Definition Schema
SLIDER Element
See Also  Send comments on this topic.
Layer Definition Schema : SLIDER Element

Glossary Item Box

Description

Used to define a Slider control in a form.

Diagram

SLIDER Element

Overview

SLIDER
Used to define a Slider control in a form.
height required xs:int
The height of the slider.
width required xs:int
The width of the slider.
x required xs:int
The x coordinate of the upper left corner of the slider.
y required xs:int
The y coordinate of the upper left corner of the slider
border optional Restriction of xs:string
Specifies whether the slider has a border.
buddy optional xs:string
The Edit control that is associated with the Slider control.
defaultvalue optional xs:string
A simple expression that specifies the default value of the slider.
field optional xs:string
The field of the shapefile's DBF table that is linked to the slider.
group optional Restriction of xs:string
Specifies whether the slider starts a new group of controls.
lower optional xs:int
The minimum number in the range of the slider.
name optional xs:string
Name of the Slider control. Used to reference the control in scripts.
orientation optional Restriction of xs:string
The orientation of the slider (horizontal or vertical).
readonly optional Restriction of xs:string
Specifies whether the slider's value can be modified by the user.
required optional Restriction of xs:string
Specifies if the user must enter some text in the slider.
tabstop optional Restriction of xs:string
Specifies whether the TAB key can be used to move the focus to the slider.
upper optional xs:int
The maximum number in the range of the slider.

Attributes

NameTypeUseDefaultFixedDescription
heightxs:intrequired  The height of the slider.
widthxs:intrequired  The width of the slider.
xxs:intrequired  The x coordinate of the upper left corner of the slider.
yxs:intrequired  The y coordinate of the upper left corner of the slider
borderRestriction of xs:stringoptionalfalse Specifies whether the slider has a border.
buddyxs:stringoptional  The Edit control that is associated with the Slider control.
defaultvaluexs:stringoptional  A simple expression that specifies the default value of the slider.
fieldxs:stringoptional  The field of the shapefile's DBF table that is linked to the slider.
groupRestriction of xs:stringoptionalfalse Specifies whether the slider starts a new group of controls.
lowerxs:intoptional  The minimum number in the range of the slider.
namexs:stringoptional  Name of the Slider control. Used to reference the control in scripts.
orientationRestriction of xs:stringoptionalhoriz The orientation of the slider (horizontal or vertical).
readonlyRestriction of xs:stringoptionalfalse Specifies whether the slider's value can be modified by the user.
requiredRestriction of xs:stringoptionalfalse Specifies if the user must enter some text in the slider.
tabstopRestriction of xs:stringoptionaltrue Specifies whether the TAB key can be used to move the focus to the slider.
upperxs:intoptional  The maximum number in the range of the slider.

Examples

Restrictions

The following attributes can only be used in edit and identify forms. They cannot be used in general forms:; field; required

Source

<xs:element name="SLIDER" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:annotation>
    <xs:documentation>Used to define a Slider control in a form.</xs:documentation>
  </xs:annotation>
  <xs:complexType>
    <xs:attribute use="required" name="height" type="xs:int">
      <xs:annotation>
        <xs:documentation>The height of the slider.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute use="required" name="width" type="xs:int">
      <xs:annotation>
        <xs:documentation>The width of the slider.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="x" type="xs:int" use="required">
      <xs:annotation>
        <xs:documentation>The x coordinate of the upper left corner of the slider.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="y" type="xs:int" use="required">
      <xs:annotation>
        <xs:documentation>The y coordinate of the upper left corner of the slider</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute default="false" name="border">
      <xs:annotation>
        <xs:documentation>Specifies whether the slider has a border.</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction base="xs:string">
          <xs:enumeration value="true" />
          <xs:enumeration value="false" />
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
    <xs:attribute name="buddy" type="xs:string">
      <xs:annotation>
        <xs:documentation>The Edit control that is associated with the Slider control.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="defaultvalue" type="xs:string">
      <xs:annotation>
        <xs:documentation>A simple expression that specifies the default value of the slider.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="field" type="xs:string">
      <xs:annotation>
        <xs:documentation>The field of the shapefile's DBF table that is linked to the slider.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute default="false" name="group">
      <xs:annotation>
        <xs:documentation>Specifies whether the slider starts a new group of controls.</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction base="xs:string">
          <xs:enumeration value="true" />
          <xs:enumeration value="false" />
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
    <xs:attribute name="lower" type="xs:int">
      <xs:annotation>
        <xs:documentation>The minimum number in the range of the slider.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="name" type="xs:string">
      <xs:annotation>
        <xs:documentation>Name of the Slider control. Used to reference the control in scripts.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute default="horiz" use="optional" name="orientation">
      <xs:annotation>
        <xs:documentation>The orientation of the slider (horizontal or vertical).</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction base="xs:string">
          <xs:enumeration value="horiz" />
          <xs:enumeration value="vert" />
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
    <xs:attribute default="false" name="readonly">
      <xs:annotation>
        <xs:documentation>Specifies whether the slider's value can be modified by the user.</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction base="xs:string">
          <xs:enumeration value="true" />
          <xs:enumeration value="false" />
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
    <xs:attribute default="false" name="required">
      <xs:annotation>
        <xs:documentation>Specifies if the user must enter some text in the slider.</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction base="xs:string">
          <xs:enumeration value="true" />
          <xs:enumeration value="false" />
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
    <xs:attribute default="true" name="tabstop">
      <xs:annotation>
        <xs:documentation>Specifies whether the TAB key can be used to move the focus to the slider.</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction base="xs:string">
          <xs:enumeration value="true" />
          <xs:enumeration value="false" />
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
    <xs:attribute name="upper" type="xs:int">
      <xs:annotation>
        <xs:documentation>The maximum number in the range of the slider.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:complexType>
</xs:element>

See Also

© 2013 All Rights Reserved.